package com.xioaye.cs.basic;


import java.util.Arrays;

public class FindByArray {

    public static void main(String[] args) {


    }

    public static boolean find(int target, int [][] array) {

        for (int i = 0; i < array.length; i++) {

            int i1 = Arrays.binarySearch(array[i], target);


                if (i1 >= 0){

                    return  true;
                }

        }
        return false;

    }


}
